import 'package:get/get.dart';
import '/pages/scan/view.dart';
import '/pages/demo/drawer/view.dart';
import '/pages/demo/net/view.dart';
import '/pages/demo/sleek/view.dart';
import '/pages/inventory/view.dart';
import '/pages/demo/photo/view.dart';
import 'pages/login/view.dart';
import 'pages/main/view.dart';
import 'pages/transform/view.dart';

class Routes {
  static const String routeInitial = "/";
  static const String routeMain = "/main2";
  static const String routeInventory = "/inventory2";
  static const String routePhoto = "/photo";
  static const String routeDrawer = "/drawer";
  static const String routeSleek = "/sleek2";
  static const String routeNet = "/net";
  static const String routeScan = "/scan";
  static const String routeTransform = "/transform";

  static List<GetPage> getRoutes() {
    return [
      GetPage(name: '/', page: () => LoginPage()),
      GetPage(name: Routes.routeMain, page: () => MainPage()),
      GetPage(name: Routes.routeInventory, page: () => InventoryPage()),
      GetPage(name: Routes.routePhoto, page: () => PhotoPage()),
      GetPage(name: Routes.routeDrawer, page: () => DrawerPage()),
      GetPage(name: Routes.routeSleek, page: () => SleekPage()),
      GetPage(name: Routes.routeNet, page: () => NetPage()),
      GetPage(name: Routes.routeScan, page: () => ScanPage()),
      GetPage(name: Routes.routeTransform, page: () => WebSocket()),
    ];
  }
}